Problem Note 36034: "Unexpected exception" in the SASĀ® Add-In for Microsoft Office when rendering a stored process in Excel
In the SAS Add-In for Microsoft Office, you might see the following error message when running a stored process that has its output type set to SAS Report.
Unexpected exception occurred in SAS Add-In For Microsoft Office
If you view details, you will see this message.
System.IndexOutOfRangeException: Index was outside the bounds of the array.....
Here are two suggested workarounds.
- Change the output type from SAS Report to HTML.
- Edit the
SAS.OfficeAddin.dll.config
file to include the following content.
< configuration >
< assemblySettings >
< add key="ExcelReportXMLRawData" value="false"/ >
< /assemblySettings >
< /configuration>
|
Save your changes, restart Excel, and re-run the stored process.
Note: If you do not have a SAS.OfficeAddin.dll.config
file, you can create one by using a text editor. Save the file in the SAS Add-In for Microsoft Office installation directory, which is typically C:\Program Files\SAS\Add-In for Microsoft Office
.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft Windows 2000 Advanced Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 4.3 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 4.3 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 2.1 | 4.3 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 2.1 | 4.3 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Windows Vista | 2.1 | 4.3 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2009-05-28 16:08:15 |
Date Created: | 2009-05-22 13:34:07 |